Skip to content

feat: wrap Markdown rendering to terminal width - #1122

Merged
ryanfowler merged 1 commit into
mainfrom
feature/markdown-terminal-width
Aug 24, 2026
Merged

feat: wrap Markdown rendering to terminal width#1122
ryanfowler merged 1 commit into
mainfrom
feature/markdown-terminal-width

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • Wrap TTY Markdown prose using terminal display-cell widths.
  • Keep ANSI styling and OSC 8 hyperlink sequences out of width calculations, reopening links across wrapped lines when needed.
  • Indent wrapped list and blockquote continuations.
  • Render tables that exceed the available width as vertical records.
  • Preserve non-terminal output and add regression coverage/documentation.

Validation

  • go test -parallel 8 ./...
  • go build .
  • staticcheck ./...
  • git diff --check

The changes were reviewed through three subagent review cycles; actionable findings around tab widths and table-label boundaries were addressed.

@ryanfowler
ryanfowler marked this pull request as ready for review August 24, 2026 13:38
@ryanfowler
ryanfowler merged commit fe2688a into main Aug 24, 2026
12 checks passed
@ryanfowler
ryanfowler deleted the feature/markdown-terminal-width branch August 24, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant